package example;

/**
 * 炒饭类，具体的构建角色
 */
public class FriedRice extends FastFood {

    public FriedRice(double price,String  desc){
        super(price,desc);
    }

    @Override
    public double cost() {
        return super.getPrice();
    }


}
